package com.zyd.service.power;

import com.zyd.io.model.RolePowerEntity;
import com.zyd.io.vo.power.SavePowerVO;

import java.util.List;
import java.util.Map;

public interface PowerService {

    public Map<String, Object> queryPowsersByRoleId(String roleid);

    public void savePowers(SavePowerVO savePowerVO);

    public Map<String, Object> queryPowsersByUserId(String userid);

    public RolePowerEntity queryPowerListByUserId(String userid, String menuid);
    
    public String getLocation();
}
